Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add workaround for "ODE INTERNAL ERROR 1: assertion "!colliders_initialized" failed in dInitColliders() [collision_kernel.cpp:168]" crash #202

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Aug 23, 2024

This PR adds a simple workaround for the non-deterministic crashes with messages:

ODE INTERNAL ERROR 1: assertion "!colliders_initialized" failed in dInitColliders() [collision_kernel.cpp:168]

described in #201 . The upstream solution is gazebosim/gz-physics#675, but while we wait for upstream feedback, this simple solution of running the first step as blocking so the two first step happen in two different times for sure should work fine.

Fix #201 .

…alized" failed in dInitColliders() [collision_kernel.cpp:168]" crash
@traversaro
Copy link
Member Author

Great, I tried a bit locally and the workaround is working.

Copy link
Member

@xela-95 xela-95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot @traversaro !! I also tested this PR locally on conda and pixi and the tests passed!

@xela-95
Copy link
Member

xela-95 commented Aug 29, 2024

Merging 🚀

@xela-95 xela-95 merged commit 306baac into main Aug 29, 2024
5 checks passed
@xela-95 xela-95 deleted the workaround201 branch August 29, 2024 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ConcurrentInstancesTest and ControlBoardOnMultipleGazeboInstancesTest non-deterministic crash
2 participants